import request from '@/utils/request'

// 查询三要素匹配统计列表
export function listElementCount(query) {
  return request({
    url: '/member/elementCount/list',
    method: 'get',
    params: query
  })
}

// 查询三要素匹配统计详细
export function getElementCount(id) {
  return request({
    url: '/member/elementCount/' + id,
    method: 'get'
  })
}

// 新增三要素匹配统计
export function addElementCount(data) {
  return request({
    url: '/member/elementCount',
    method: 'post',
    data: data
  })
}

// 修改三要素匹配统计
export function updateElementCount(data) {
  return request({
    url: '/member/elementCount',
    method: 'put',
    data: data
  })
}

// 删除三要素匹配统计
export function delElementCount(id) {
  return request({
    url: '/member/elementCount/' + id,
    method: 'delete'
  })
}
